home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-09-03 | 2.4 KB | 75 lines |
- _DO_LYRA["this lyra two effect is for kenny who said that you cant do a spectrum demo yeah right"]
- '
- Procedure _DO_LYRA[SCROL$]
- ' Lyra2-esque turtle graphics by Kyzer
- ' letter design by Janne Kalliola
- '
- Hide
- BI=1
- BR=-44
- BD=1
- Dim LETTER$(26)
- For A=0 To 25
- Read A$
- LETTER$(A)="PUF50L90F5R90PD"+A$
- Next
- Set Rainbow 0,0,270,"","",""
- Rainbow 0,0,40,270
- For A=0 To 129 : Rain(0,A)=(A/130.0)*8+1 : Next
- For A=0 To 139 : N=(8*(A/150.0)) : Rain(0,A+130)=$FFF-N*$210 : Next
- Screen Open 0,320,70,2,0
- Palette 0,$FF0 : Curs Off : Cls 0
- Double Buffer : Autoback 0
- Screen Display 0,128,100,320,70
- SCROL$=Upper$(" "+SCROL$+" ")
- For A=1 To Len(SCROL$)
- ROT=260
- For B=0 To 15 Step 4
- Exit If Mouse Key,2
- Wait Vbl
- Extension_12_03A6 1
- Add ROT,-4 : OLROT=ROT
- For LETTA=1 To 14
- Extension_18_0610 160,70
- Add ROT,16
- Extension_18_0532 ROT
- LTA=Peek(Varptr(SCROL$)+A+LETTA)-65
- If LTA>=0 and LTA<26 Then Extension_18_050E LETTER$(LTA)
- Next LETTA
- ROT=OLROT
- Add BI,BD
- Add BR,BI
- If BR=0 : BD=-BD : Add BI,-BD : End If : Extension_18_0610 160,78 : Extension_18_0532 BR : Extension_18_050E "R90B13F26L90F35L70F11R70F5L90F5L90F5R70F11L70F35"
- Screen Swap
- Next B
- Next A
- Screen Close 0
- Edit
- A: Data "F20R90F10R90F10R90F10B10L90F10"
- B: Data "F20R90F5R45F7R90F7R45F5B5L135F7R90F7R45F5"
- C: Data "R90F10B10L90F20R90F10"
- D: Data "F20R90F5R45F7R45F10R45F7R45F5"
- E: Data "R90F10B10L90F10R90F5B5L90F10R90F10"
- F: Data "F10R90F5B5L90F10R90F10"
- G: Data "R90F10L90F10B10L90F10R90F20R90F10"
- H: Data "F20B10R90F10L90F10B20"
- I: Data "R90F10B5L90F20L90F5B10"
- J: Data "F10B10R90F10L90F20"
- K: Data "F20B10R45F14B14R90F14"
- L: Data "F20B20R90F10"
- M: Data "F20R166F21L152F21R166F20"
- N: Data "F20R153F22L153F20"
- O: Data "F20R90F10R90F20R90F10"
- P: Data "F20R90F10R90F10R90F10"
- Q: Data "F20R90F10R90F20R90F10B10R45F5"
- R: Data "F20R90F10R90F10R90F10L135F14"
- S: Data "R90F10L90F10L90F10R90F10R90F10"
- T: Data "PUR90F5L90PDF20L90F5B10"
- U: Data "F20B20R90F10L90F20"
- V: Data "PUR90F5L90PDL14F21B21R28F21"
- W: Data "F20B20R14F21R152F21L163F20"
- X: Data "R27F22B11L54F11B22"
- Y: Data "PUR90F5L90PDF10L27F11B11R54F11"
- Z: Data "R90F10B10L63F22L115F10"
- End Proc
- '